{% extends "module/common.html" %}
	{% block handle %}
    	var handle={
    		name:'任务',
    		serv:'planHandle'
    	};
    	  	          
    {% endblock %}
    {% block listhead %}
        var listHeadCfg={
			name:{name:'任务名称',css:{width:'15%'}},
			content:{name:'任务内容',css:{width:'35%'}},
			priority:{name:'优先级',css:{width:'10%'}},
			schedule:{name:'进度(%)',css:{width:'10%'}},
			ctrl:{name:'操作',css:{width:'30%'},bindFunc:true}
		}
		//模板
		var renderTemplate=$("<div class='table_template'>"+
													"<div class='tr'>"+
															"<div class='td' jtext='name'></div>"+
															"<div class='td' jtext='content'></div>"+
															"<div class='td' jtext='priority'></div>"+													
															"<div class='td' jtext='schedule'></div>"+
															"<div class='td' jtext='ctrl'></div>"+			
													"</div>"+
												"</div>");
    {% endblock %}
    {% block listfunc %}
		tableHandle.addFunc("ctrl",function(){
			return $(
        			"<button class='btn' callFunc='click:editTemplate'>编辑</button>"+           		                            
					"<button class='btn' callFunc='click:delTemplate'>删除</button>");
		},body);	                   	
	{% endblock %}	
	{% block other %}
            
    {% endblock %}    		
			